package com.example.springboot.service;

import com.example.springboot.enums.ServiceEnum;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class OneBaseServiceImpl implements BaseService {

    @Override
    public ServiceEnum serviceTypeProvide() {
        return ServiceEnum.SERVICE1;
    }

    @Override
    public String business() {

        log.info("SERVICE1");
        return "SERVICE1";
    }
}
